/*
 * Copyright (C) 2018-2020 Alibaba Group Holding Limited
 */

#ifndef __AVPARSER_ALL_H__
#define __AVPARSER_ALL_H__

#include <aos/aos.h>

__BEGIN_DECLS__

/**
 * @brief  regist avparser for mp3
 * @return 0/-1
 */
int avparser_register_mp3();

/**
 * @brief  regist avparser for adts
 * @return 0/-1
 */
int avparser_register_adts();

/**
 * @brief  regist all avparser
 * @return 0/-1
 */
static inline int avparser_register_all()
{
    int rc = 0;

    rc |= avparser_register_mp3();
    rc |= avparser_register_adts();

    return rc;
}

__END_DECLS__

#endif /* __AVPARSER_ALL_H__ */

